<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : AgencyReservation
    Created on : 27 juil. 2008, 21:54:13
    Author     : loicpark
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page id="page1">
            <webuijsf:html id="html1">
                <webuijsf:head id="head1">
                    <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body id="body1" style="-rave-layout: grid">
                    <webuijsf:form id="form1">
                        <webuijsf:panelLayout id="lopMain" style="height: 502px; left: 24px; top: 24px; position: absolute; width: 646px; -rave-layout: grid">
                            <webuijsf:label id="label1" style="left: 25px; top: 25px; position: absolute" text="Agence :"/>
                            <webuijsf:label binding="#{agencyscreens$AgencyReservation.lblAgencyName}" id="lblAgencyName" style="left: 96px; top: 24px; position: absolute"/>
                            <webuijsf:label id="label2" style="left: 24px; top: 48px; position: absolute" text="Gestion des reservations."/>
                            <webuijsf:dropDown binding="#{agencyscreens$AgencyReservation.ddlVille}" id="ddlVille" items="#{ApplicationBean.zipcode}"
                                onChange="webui.suntheme4_2.common.timeoutSubmitForm(this.form, 'lopMain:ddlVille');"
                                style="left: 96px; top: 96px; position: absolute" valueChangeListenerExpression="#{agencyscreens$AgencyReservation.ddlVille_processValueChange}"/>
                            <webuijsf:dropDown binding="#{agencyscreens$AgencyReservation.ddlHotel}" id="ddlHotel"
                                items="#{agencyscreens$AgencyReservation.hotelOptList}"
                                onChange="webui.suntheme4_2.common.timeoutSubmitForm(this.form, 'lopMain:ddlHotel');" required="true"
                                style="left: 96px; top: 120px; position: absolute" valueChangeListenerExpression="#{agencyscreens$AgencyReservation.ddlHotel_processValueChange}"/>
                            <webuijsf:label for="ddlVille" id="label3" style="left: 24px; top: 96px; position: absolute" text="Ville :"/>
                            <webuijsf:label for="ddlHotel" id="label4" style="left: 24px; top: 120px; position: absolute" text="Hotel"/>
                            <webuijsf:panelLayout id="layoutPanel1" style="height: 141px; left: 24px; top: 168px; position: absolute; width: 597px; -rave-layout: grid">
                                <webuijsf:label id="label5" style="position: absolute; left: 24px; top: 24px" text="Hotel :"/>
                                <webuijsf:label binding="#{agencyscreens$AgencyReservation.lblHotelName}" id="lblHotelName" style="left: 72px; top: 24px; position: absolute"/>
                                <webuijsf:label id="label6" style="position: absolute; left: 24px; top: 48px" text="Adresse :"/>
                                <webuijsf:label binding="#{agencyscreens$AgencyReservation.lblHotelAdress}" id="lblHotelAdress" style="position: absolute; left: 96px; top: 48px"/>
                                <webuijsf:label id="label7" style="position: absolute; left: 24px; top: 72px" text="Description :"/>
                                <webuijsf:label binding="#{agencyscreens$AgencyReservation.lblHotelDescription}" id="lblHotelDescription" style="position: absolute; left: 120px; top: 72px"/>
                                <webuijsf:label id="label8" style="position: absolute; left: 24px; top: 96px" text="Services et équipements :"/>
                                <webuijsf:label binding="#{agencyscreens$AgencyReservation.lblHotelSvcEqmt}" id="lblHotelSvcEqmt" style="position: absolute; left: 192px; top: 96px"/>
                            </webuijsf:panelLayout>
                            <webuijsf:table augmentTitle="false" id="tableReservation" style="left: 24px; top: 336px; position: absolute; width: 450px"
                                title="Liste des réservations" width="0">
                                <webuijsf:tableRowGroup id="tableRowGroup1" rows="5" sourceData="#{SessionBean.roomBookingByHotel}" sourceVar="currentRow">
                                    <webuijsf:tableColumn headerText="bookedDate" id="tableColumn1" sort="bookedDate">
                                        <webuijsf:staticText id="staticText1" text="#{currentRow.value['bookedDate']}"/>
                                    </webuijsf:tableColumn>
                                    <webuijsf:tableColumn headerText="agencyName" id="tableColumn2" sort="agencyName">
                                        <webuijsf:staticText id="staticText2" text="#{currentRow.value['agencyName']}"/>
                                    </webuijsf:tableColumn>
                                    <webuijsf:tableColumn headerText="roomNumber" id="tableColumn3" sort="roomNumber">
                                        <webuijsf:staticText id="staticText3" text="#{currentRow.value['roomNumber']}"/>
                                    </webuijsf:tableColumn>
                                    <webuijsf:tableColumn headerText="roomType" id="tableColumn4" sort="roomType">
                                        <webuijsf:staticText id="staticText4" text="#{currentRow.value['roomType']}"/>
                                    </webuijsf:tableColumn>
                                    <webuijsf:tableColumn headerText="customerName" id="tableColumn5" sort="customerName">
                                        <webuijsf:staticText id="staticText5" text="#{currentRow.value['customerName']}"/>
                                    </webuijsf:tableColumn>
                                    <webuijsf:tableColumn headerText="customerFirstName" id="tableColumn6" sort="customerFirstName">
                                        <webuijsf:staticText id="staticText6" text="#{currentRow.value['customerFirstName']}"/>
                                    </webuijsf:tableColumn>
                                    <webuijsf:tableColumn headerText="startDate" id="tableColumn7" sort="startDate">
                                        <webuijsf:staticText id="staticText7" text="#{currentRow.value['startDate']}"/>
                                    </webuijsf:tableColumn>
                                    <webuijsf:tableColumn headerText="endDate" id="tableColumn8" sort="endDate">
                                        <webuijsf:staticText id="staticText8" text="#{currentRow.value['endDate']}"/>
                                    </webuijsf:tableColumn>
                                    <webuijsf:tableColumn headerText="price" id="tableColumn9" sort="price">
                                        <webuijsf:staticText id="staticText9" text="#{currentRow.value['price']}"/>
                                    </webuijsf:tableColumn>
                                </webuijsf:tableRowGroup>
                            </webuijsf:table>
                        </webuijsf:panelLayout>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
